package com.xueyi.aixihu.service;

import com.xueyi.aixihu.entity.po.DtNewsSort;
import com.xueyi.aixihu.entity.vo.ComplainRecordVo;
import com.xueyi.aixihu.exception.SzException;
import com.xueyi.aixihu.reqeust.ComplaintReq;
import com.xueyi.aixihu.reqeust.NewsTypeReq;
import com.xueyi.aixihu.reqeust.SelectComplaintReq;

import java.util.List;
import java.util.Map;

public interface ComplaintService {

    /**
     * 条件查询投诉信息
     */
    List<ComplainRecordVo> getList(SelectComplaintReq req) throws SzException;

    /**
     * 统计记录数量
     */
    Map<String,Integer> statisticsTotalNumber(SelectComplaintReq req) throws SzException;

    /**
     * 查询所有地区信息
     * @return
     * @throws SzException
     */
    List<DtNewsSort> selectAllAreaInfoList() throws SzException;

    /**
     * 处理投诉信息
     */
    List<ComplaintReq> deal(ComplaintReq complaintReq) throws SzException;

    List<ComplaintReq> add(ComplaintReq complaintReq) throws SzException;
}
